package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科室表对象 ahhc_departments
 *
 * @author ruoyi
 * @date 2025-03-14
 */
public class AhhcDepartments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** KS+编号 */
    private static final String PREFIX = "KS";
    /// 雪花算法
    ///

    private String id;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String name;

    /** 医护管理信息 */
    private List<AhhcMedicalStaff> ahhcMedicalStaffList;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public List<AhhcMedicalStaff> getAhhcMedicalStaffList()
    {
        return ahhcMedicalStaffList;
    }

    public void setAhhcMedicalStaffList(List<AhhcMedicalStaff> ahhcMedicalStaffList)
    {
        this.ahhcMedicalStaffList = ahhcMedicalStaffList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("ahhcMedicalStaffList", getAhhcMedicalStaffList())
            .toString();
    }
}
